﻿using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using DTOTemplatedGenerator.ViewModels;

namespace DTOTemplatedGenerator.Models
{
    public class ParseTemplateModel
    {
        private ObservableCollection<string> _templates = new ObservableCollection<string>();

        public string Name { get; set; }

        public ObservableCollection<string> Templates { get { return _templates; } }

        public PropertyModel Parse(string line) { 
            //if(string.IsNullOrWhiteSpace(line))
            //    return null;
            //var lineWords = line.Split(default(string[]), StringSplitOptions.RemoveEmptyEntries);
            //foreach (var tem in Templates)
            //{
            //    var temlateWords = tem.Split(default(string[]), StringSplitOptions.RemoveEmptyEntries);
            //    if()
            //}
            //TODO
            return null;
        }
    }
}
